<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        [aria-role*="admin"]{
            background-color: green;
        }
    </style>
</head>

<body>
    <li aria-role="user admin">张三</li>
    <li aria-role="user">李四</li>
</body>

</html>